1
1
.
.
3
3
.
.
4
4
A
A
u
u
t
t
o
o
m
m
a
a
t
t
i
i
c
c
-
-
A
A
u
u
t
t
h
h
o
o
r
r
i
i
z
z
a
a
t
t
i
i
o
o
n
n
H
H
e
e
a
a
d
d
e
e
r
r
-
-
P
P
o
o
s
s
t
t
m
m
a
a
n
n
-
-
G
G
e
e
n
n
e
e
r
r
a
a
t
t
e
e
I
I
n
n
f
f
o
o
This tutorial shows how to use Postman to generate Base64 encoded Authorization Header with Username & Password.
Encoded string represents user:d255f064-6a4b-49bd-af08-766259e7895c.
Postman will send HTTP Request to Spring Boot Application created in Login Form - Default tutorial (so you should start it)
Authorization
Basic dXNlcjpkMjU1ZjA2NC02YTRiLTQ5YmQtYWYwOC03NjYyNTllNzg5NWM=
P
P
r
r
o
o
c
c
e
e
d
d
u
u
r
r
e
e
Start Login Form - Default (Postman will send HTTP Request to Spring Boot Application created in this tutorial)
Start Postman
GET: http://localhost:8080/hello
Authorization
– Type: Basic Auth
– Username: user
– Password: d255f064-6a4b-49bd-af08-766259e7895c (copy from the Console when Application starts)
Send
Authorization - Basic Auth
Generated Authorization Header